<?php
	class showMessage{
		public function showMess($flag){
			switch($flag){
			case 0: echo '<script> alert("NOT OK") </script>'; break;
			case 1:	echo '<script> alert("OK") </script>'; break;
				
			}//message
		}//function
		
		
	}//class


?>